.heart{
  background: red;
  transform: rotate(-45deg);
  width: 30px;
  height: 30px;
  margin: 100px auto;
  -webkit-animation: beat .35s infinite alternate;
}

@keyframes beat{
	to { transform: scale(1.8); }
}

.heart:before, .heart:after{
  content: "";
  border-radius: 50%;
  width: 30px;
  height: 30px;
  background: red;
  position: absolute;
}

.heart:before{
  top: -15px;
  left: 0;
}

.heart:after{
  top: 0;
  right: -15px;
  
}